package com.yunyouyi.grabtickets.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("ticket")
public class Ticket {
    private Long id;
    @TableField("train_id")
    private String trainId;
    @TableField("seat_type")
    private String seatType;
    private Integer stock;
    private Integer version;
}